package com.verlet.servicehi.entity;

import java.io.Serializable;

/**
 * 消息对象
 *
 * @author verlet
 * @date 2020/2/5
 */
public class MessageObject implements Serializable {

    private Integer id;
    private String name;

    public MessageObject() {
    }

    public MessageObject(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "MessageObject{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
